package com.lsq.tucao.express.service.serviceImpl;

import com.alibaba.fastjson.JSONObject;
import com.lsq.tucao.express.client.NewsClient;
import com.lsq.tucao.express.service.NewsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class NewsServiceImpl implements NewsService {

    @Autowired
    private NewsClient newsClient;

    @Override
    public JSONObject getTopNews() {
        return newsClient.getTopNews();
    }

}
